<?php
if (!defined('WEB_ROOT')) {
	exit;
}

//$catId = (isset($_GET['catId']) && $_GET['catId'] > 0) ? $_GET['catId'] : 0;

//$categoryList = buildCategoryOptions(1);

?> 
<p>&nbsp;</p>
<form action="processBranch.php?action=addBranch" method="post" enctype="multipart/form-data" name="frmAddBranch" id="frmAddBranch">
  <table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" class="entryTable">
  <tr>
      <td colspan="2" id="entryTableHeader">Add Branch</td>
    </tr>
  <tr> 
      <td width="150" class="label">Branch Name</td>
   <td class="content"> <input name="txtName" type="text" class="box" id="txtName" size="50" maxlength="100"></td>
  </tr>
  <tr> 
      <td width="150" class="label">Location</td>
   <td class="content"> <input name="txtLocation" type="text" class="box" id="txtLocation" size="50" maxlength="100"></td>
  </tr>
  <tr> 
   <td width="150" class="label">Description</td>
   <td class="content"> <textarea name="mtxDescription" cols="70" rows="10" class="box" id="mtxDescription"></textarea></td>
  </tr>
  <tr> 
   <td width="150" class="label">Price</td>
   <td class="content"><select name="cboStatus" id="cboStatus" class="box">
     <option value="ACT" selected>Active</option>
	  <option value="INA" >Inactive</option>	 
    </select> </td>
  </tr>
  <tr> 
      <td width="150" class="label">&nbsp;</td>   <td class="content">&nbsp; </td>
  </tr>
  <tr> 
      <td width="150" class="label">&nbsp;</td>   <td class="content">&nbsp; </td>
  </tr>
 </table>
 <p align="center"> 
  <input name="btnAddBranch" type="button" id="btnAddBranch" value="Add Branch" onClick="checkAddBranchForm();" class="box">
  &nbsp;&nbsp;<input name="btnCancel" type="button" id="btnCancel" value="Cancel" onClick="window.location.href='index.php';" class="box">  
 </p>
</form>
